package ${package}.mapper;

import ${package}.entity.JcMyInfo;
import ${package}.dto.JcPage;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author Jevoncode
* @since 2018-12-16
*/
@Repository
public interface JcMyInfoMapper{

	int insert(JcMyInfo model);
	
	int insertBatch(List<JcMyInfo> modelList);

	
	int update(JcMyInfo model);
	
	int updateSelective(JcMyInfo model);

	JcMyInfo getById(Integer id);

	//分页使用的list
	List<JcMyInfo> queryList(JcPage page);

	int count(Map<String, Object> params);

	//不分页使用的list(注意：存风险查全库)
	List<JcMyInfo> findList(Map<String, Object> params);
}